package com.demo05.nio;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

/**
 * @Author: root
 * @Date: 2018/11/28 17:51
 */
public class URLTest {
    public static void main(String[] args) {
        try {
            String str = URLDecoder.decode("%E9%83%91%E5%B7%9E", "UTF-8");
            System.out.println(str);
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }

    }
}
